/**
 * Author: Lucky叶.
 * Time: 2016/7/6 0006
 */
angular.module('service.restaurant', [
        "ngResource"
    ])

    //获取餐政服务内容
    .service('ServiceRestaurant',['$resource',function($resource) {

        //根据服务ID获取具体服务内容
        this.getServiceItem = function(id){
            var item = $resource(server_baseurl+'serviceitem/serviceid/:itemid');
            return item.query({itemid:id});
        }

    }])
;
